package com.seu.project.seuquiz.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.seu.project.seuquiz.model.dto.collegeContestMap.CollegeContestMapQueryRequest;
import com.seu.project.seuquiz.model.dto.notice.NoticeQueryRequest;
import com.seu.project.seuquiz.model.entity.CollegeContestMap;
import com.seu.project.seuquiz.model.entity.Notice;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author lenovo
* @description 针对表【notice(公告)】的数据库操作Service
* @createDate 2023-07-22 19:21:16
*/
public interface NoticeService extends IService<Notice> {
    /**
     * 根据查询参数构造queryWrapper
     * @param request
     * @return
     */
    QueryWrapper<Notice> getQueryWrapper(NoticeQueryRequest request);

    long noticeAdd(String title, String description, String content);
}
